package com.iseastar.guojiang.model;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * @author coffee <br>
 *         2016-10-7下午9:15:02
 */
public class CabinetBean implements Serializable {

    private int stationCount;//驿站数量
    private int parcelCount;//包裹数量


    private ArrayList<StationCabubetBean> items;

    public int getStationCount() {
        return stationCount;
    }

    public void setStationCount(int stationCount) {
        this.stationCount = stationCount;
    }

    public int getParcelCount() {
        return parcelCount;
    }

    public void setParcelCount(int parcelCount) {
        this.parcelCount = parcelCount;
    }

    public ArrayList<StationCabubetBean> getItems() {
        return items;
    }

    public void setItems(ArrayList<StationCabubetBean> items) {
        this.items = items;
    }

    public static class StationCabubetBean implements Serializable {
        private int id;
        private String orderCount;// 订单数量
        private String community; // 快递柜所在小区
        private String address;// 快递柜地址
        private String latitude; // 维度
        private String longitude;// 经度

        // 1、驿站 2、柜子
        private int delivery = 1;
        // 驿站名称
        private String name;// 胡老板的故宫测试驿站
        private String senderPhone;
        private String busiTime;
        private String code;// 1111115009
        private String checkCode;// 开箱吗
        private String orderId;
        private String parcelId;
        private String phone;
        private int orderCount2;//超期包裹数量
        private String headImage;//驿站门头图

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getParcelId() {
            return parcelId;
        }

        public void setParcelId(String parcelId) {
            this.parcelId = parcelId;
        }

        public String getSenderPhone() {
            return senderPhone;
        }

        public void setSenderPhone(String senderPhone) {
            this.senderPhone = senderPhone;
        }

        public String getCheckCode() {
            return checkCode;
        }

        public void setCheckCode(String checkCode) {
            this.checkCode = checkCode;
        }

        /**
         * 是否驿站
         */
        public boolean isStation() {
            return delivery == 1;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getOrderCount() {
            return orderCount;
        }

        public void setOrderCount(String orderCount) {
            this.orderCount = orderCount;
        }

        public String getCommunity() {
            return community;
        }

        public void setCommunity(String community) {
            this.community = community;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public int getDelivery() {
            return delivery;
        }

        public void setDelivery(int delivery) {
            this.delivery = delivery;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getBusiTime() {
            return busiTime;
        }

        public void setBusiTime(String busiTime) {
            this.busiTime = busiTime;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public int getOrderCount2() {
            return orderCount2;
        }

        public void setOrderCount2(int orderCount2) {
            this.orderCount2 = orderCount2;
        }
        public String getHeadImage() {
            return headImage;
        }

        public void setHeadImage(String headImage) {
            this.headImage = headImage;
        }
    }
}
